﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using JXT.PrimaryKey.Batman.Domain.Models;


namespace JXT.PrimaryKey.Batman.Domain.Quotation.Models
{
    /// <summary>
    /// 证券类型
    /// </summary>
    [Flags]
    [Serializable]
    public enum SecuritiesType : short
    {
        /// <summary>
        /// 未知
        /// </summary>
        Unknown = 0,

        /// <summary>
        /// 股票
        /// </summary>
        Stock = 1,

        /// <summary>
        /// 指数
        /// 2
        /// </summary>
        Index = 1 << 1,

        /// <summary>
        /// 基金
        /// 4
        /// </summary>
        Fund = 1 << 2,

        /// <summary>
        /// 权证
        /// 8
        /// </summary>
        AuthorityCard = 1 << 3,

        /// <summary>
        /// 信托
        /// 16
        /// </summary>
        Trust = 1 << 4,

        /// <summary>
        /// 创业板
        /// 32
        /// </summary>
        Venture = 1 << 5,

        /// <summary>
        /// 国债
        /// 64
        /// </summary>
        National = 1 << 6,

        /// <summary>
        /// 牛熊证
        /// 128
        /// </summary>
        NiuXiongCard = 1 << 7,

        /// <summary>
        /// 涡轮
        /// 256
        /// </summary>
        Bart = 1 << 8,
    }
}
